﻿using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;

namespace Himp.Platform.Dc
{
    /// <summary>
    /// 厂商
    /// </summary>
    public class DrugSupplierDto : EntityDto<Guid>
    {
        /// <summary>
        /// 供应商编码
        /// </summary>
        [MaxLength(40)]
        public string Code { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        [MaxLength(80), Required]
        public string Name { get; set; }

        /// <summary>
        /// 拼音码
        /// </summary>
        [MaxLength(40)]
        public string PinYinCode { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        [MaxLength(40)]
        public string Contacts { get; set; }

        /// <summary>
        /// 电子邮件
        /// </summary>
        [MaxLength(40)]
        public string EMail { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        [MaxLength(40)]
        public string Telephone { get; set; }

        /// <summary>
        /// GMP证书号
        /// </summary>
        [MaxLength(40)]
        public string GMPCertificateNo { get; set; }

        /// <summary>
        /// 开户银行
        /// </summary>
        [MaxLength(80)]
        public string Bank { get; set; }

        /// <summary>
        /// 法人代表
        /// </summary>
        [MaxLength(40)]
        public string LegalRepresentative { get; set; }

        /// <summary>
        /// 使用状态
        /// </summary>
        public bool ValiFlag { get; set; }

        /// <summary>
        /// 税号
        /// </summary>
        [MaxLength(40)]
        public string DutyParagraph { get; set; }

        /// <summary>
        /// 地区
        /// </summary>
        [MaxLength(40)]
        public string Region { get; set; }

        /// <summary>
        /// 经营类型代码
        /// </summary>
        [MaxLength(40)]
        public string BusinessTypeCode { get; set; }

        /// <summary>
        /// 经营类型名称
        /// </summary>
        [MaxLength(80)]
        public string BusinessTypeName { get; set; }

        /// <summary>
        /// 审核人代码
        /// </summary>
        [MaxLength(40)]
        public string ReviewerCode { get; set; }

        /// <summary>
        /// 审核人名称
        /// </summary>
        [MaxLength(40)]
        public string ReviewerName { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? AuditTime { get; set; }
    }
}
